using namespace std;
#include <iostream>

int main()
{
  int sumsq=0, sqsum=0;

  for(int i = 1; i <= 100; i++)
    sumsq += (i*i);

  for(int j = 1; j <= 100; j++)
  {
    sqsum += j;
  }
  sqsum = (sqsum * sqsum);
  int final = (sqsum-sumsq);
  cout << "Answer is : " << final << endl;
  return 0;
}
